2000W / 48V LLC Battery-Charger  V1.00
XMC_VADC_CHANNEL_CONFIG Struct Reference

#include <xmc_vadc.h>

Public Attributes

union {
   struct {
      uint32_t   input_class: 2
 
      uint32_t   __pad0__: 2
 
      uint32_t   lower_boundary_select: 2
 
      uint32_t   upper_boundary_select: 2
 
      uint32_t   event_gen_criteria: 2
 
      uint32_t   sync_conversion: 1
 
      uint32_t   alternate_reference: 1
 
      uint32_t   __pad1__: 4
 
      uint32_t   result_reg_number: 4
 
      uint32_t   use_global_result: 1
 
      uint32_t   result_alignment: 1
 
      uint32_t   __pad2__: 6
 
      uint32_t   broken_wire_detect_channel: 2
 
      uint32_t   broken_wire_detect: 1
 
   } 
 
   uint32_t   chctr
 
}; 
 
union {
   struct {
      uint32_t   __pad0__: 8
 
      uint32_t   __pad1__: 4
 
      uint32_t   __pad2__: 4
 
      uint32_t   boundary_flag_output_ch0: 1
 
      uint32_t   boundary_flag_output_ch1: 1
 
      uint32_t   boundary_flag_output_ch2: 1
 
      uint32_t   boundary_flag_output_ch3: 1
 
      uint32_t   __pad3__: 12
 
   } 
 
   uint32_t   bfl
 
}; 
 
bool channel_priority
 
int8_t alias_channel
 

Detailed Description

Structure initializing the VADC channel. Use type XMC_VADC_CHANNEL_CONFIG_t for this enumeration.

Definition at line 895 of file xmc_vadc.h.

Member Data Documentation

◆ @60

union { ... }

◆ @62

union { ... }

◆ __pad0__

uint32_t XMC_VADC_CHANNEL_CONFIG::__pad0__

Definition at line 903 of file xmc_vadc.h.

◆ __pad1__

uint32_t XMC_VADC_CHANNEL_CONFIG::__pad1__

Definition at line 913 of file xmc_vadc.h.

◆ __pad2__

uint32_t XMC_VADC_CHANNEL_CONFIG::__pad2__

Definition at line 918 of file xmc_vadc.h.

◆ __pad3__

uint32_t XMC_VADC_CHANNEL_CONFIG::__pad3__

Definition at line 955 of file xmc_vadc.h.

◆ alias_channel

int8_t XMC_VADC_CHANNEL_CONFIG::alias_channel

Specifies the channel which has to be aliased with CH0/CH1 (which ever is applicable). Force the value to (int8_t)-1 to bypass alias feature. Uses XMC_VADC_CHANNEL_ALIAS_t for configuration.

Definition at line 978 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ alternate_reference

uint32_t XMC_VADC_CHANNEL_CONFIG::alternate_reference

Input reference voltage selection either VARef or CH-0. Uses XMC_VADC_CHANNEL_REF_t

Definition at line 911 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ bfl

uint32_t XMC_VADC_CHANNEL_CONFIG::bfl

Definition at line 957 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ boundary_flag_output_ch0

uint32_t XMC_VADC_CHANNEL_CONFIG::boundary_flag_output_ch0

Enable the boundary flag output on the specific channel.

Definition at line 950 of file xmc_vadc.h.

◆ boundary_flag_output_ch1

uint32_t XMC_VADC_CHANNEL_CONFIG::boundary_flag_output_ch1

Enable the boundary flag output on the specific channel.

Definition at line 951 of file xmc_vadc.h.

◆ boundary_flag_output_ch2

uint32_t XMC_VADC_CHANNEL_CONFIG::boundary_flag_output_ch2

Enable the boundary flag output on the specific channel.

Definition at line 952 of file xmc_vadc.h.

◆ boundary_flag_output_ch3

uint32_t XMC_VADC_CHANNEL_CONFIG::boundary_flag_output_ch3

Enable the boundary flag output on the specific channel.

Definition at line 953 of file xmc_vadc.h.

◆ broken_wire_detect

uint32_t XMC_VADC_CHANNEL_CONFIG::broken_wire_detect

Configures extra phase before the capacitor is sampled.

Definition at line 921 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ broken_wire_detect_channel

uint32_t XMC_VADC_CHANNEL_CONFIG::broken_wire_detect_channel

Source to be used to charge the capacitor for BWD feature. Uses XMC_VADC_CHANNEL_BWDCH_t.

Definition at line 919 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ channel_priority

bool XMC_VADC_CHANNEL_CONFIG::channel_priority

Only non priority channels can be converted by Background Request Source

Definition at line 977 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ chctr

uint32_t XMC_VADC_CHANNEL_CONFIG::chctr

Definition at line 923 of file xmc_vadc.h.

◆ event_gen_criteria

uint32_t XMC_VADC_CHANNEL_CONFIG::event_gen_criteria

When should an event be generated? Uses XMC_VADC_CHANNEL_EVGEN_t

Definition at line 908 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ input_class

uint32_t XMC_VADC_CHANNEL_CONFIG::input_class

Input conversion class selection. Uses XMC_VADC_CHANNEL_CONV_t

Definition at line 901 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ lower_boundary_select

uint32_t XMC_VADC_CHANNEL_CONFIG::lower_boundary_select

Which boundary register serves as lower bound? Accepts enum XMC_VADC_CHANNEL_BOUNDARY_t

Definition at line 904 of file xmc_vadc.h.

◆ result_alignment

uint32_t XMC_VADC_CHANNEL_CONFIG::result_alignment

Alignment of the results read in the result register. Uses XMC_VADC_RESULT_ALIGN_t

Definition at line 916 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ result_reg_number

uint32_t XMC_VADC_CHANNEL_CONFIG::result_reg_number

Group result register number

Definition at line 914 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ sync_conversion

uint32_t XMC_VADC_CHANNEL_CONFIG::sync_conversion

Enables synchronous conversion for the configured channel

Definition at line 910 of file xmc_vadc.h.

Referenced by L0_ADC_Config().

◆ upper_boundary_select

uint32_t XMC_VADC_CHANNEL_CONFIG::upper_boundary_select

Which boundary register serves as upper bound? Accepts enum XMC_VADC_CHANNEL_BOUNDARY_t

Definition at line 906 of file xmc_vadc.h.

◆ use_global_result

uint32_t XMC_VADC_CHANNEL_CONFIG::use_global_result

Use global result register for background request source channels

Definition at line 915 of file xmc_vadc.h.

Referenced by L0_ADC_Config().


The documentation for this struct was generated from the following file: